package com.rupertjones.globalcron.resources;

import org.brownflat.dbinit.upgrade.Upgrade;
import org.springframework.stereotype.Component;

/**
 * <p>&copy Rupert Jones 2011,2012</p>
 *
 * @author rup
 */
@Component
public class Upgrade0025FixPasswords implements Upgrade {
    @Override
    public int getSequence() {
        return 25;
    }

    @Override
    public String getSql() {
        return "UPDATE user set password='dc50f2f16e35c0a41a981394eb14289bbab7f17634d9d5ac6ec05b5cfa5b7e08' where username <> 'system';";
    }

    @Override
    public String getName() {
        return "Create system user";
    }
}
